//
//  CRMessageObjectProtocol.h
//  TestPrj
//
//  Created by 朱铅峰 on 2020/9/28.
//  Copyright © 2020 Xing. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CRHeader.h"

@class CRMessage;

/**
 *  消息体协议
 */
@protocol CRMessageObject <NSObject>

/**
 *  消息体所在的消息对象
 */
@property (nullable,nonatomic, weak) CRMessage *message;

/**
 *  消息内容类型
 *
 *  @return 消息内容类型
 */
- (CRMessageType)type;


@end
